<include file="../header" />
<body class="J_scroll_fixed">
    <script>


        $(document).ready(function() {


        });

    </script>
<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('accountDetail/index')}">
    <div class="search_type cc mb10">
        <div class="mb10">
        <span class="mr20">
            流水类型：{:getEnumSelectWidget($typeEnum, "a#type", $type, 1)}
            用户昵称：<input type="text" name="c#nickname-like" value="{$nickname}" />
            <button class="btn btn-primary" type="submit">搜索</button>
            <a class="btn" href="{:U('accountDetail/index')}">重置</a>
        </span>
        </div>
    </div>
</form>
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <th>用户名称</th>
                <th>流水时间</th>
                <th>流水类型</th>
                <th>金额</th>
            </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.nickname}</td>
                <td>{$vo.create_time}</td>
                <td>{:getEnumString($typeEnum, $vo["type"])}</td>
                <td>{$vo.money}元</td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>